package com.zjc;

import java.lang.annotation.*;

/**
 * Created by lv_03575 on 2017/9/27.
 */
@Target(ElementType.FIELD)//作用点 类、方法、属性等
@Retention(RetentionPolicy.RUNTIME)//生命周期  运行时，编译期间等
@Documented//生成Javadoc
public @interface NotNull {
    boolean nullable() default false;
    String msg() default "";
}
